<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update(self, key: str, data: np.ndarray) -> None: """ Update entry in datastore """

        self.data[key] = data