<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, other):
 """ Modify Series in place using non-NA values from passed Series. Aligns on index. Parameters other : Series Examples -------- 0 4 1 5 2 6 dtype: int64 0 d 1 b 2 e dtype: object 0 4 1 5 2 6 dtype: int64 If ``other`` contains NaNs the corresponding values are not updated in the original Series. 0 4 1 2 2 6 dtype: int64 """

        other = other.reindex_like(self)
        mask = notna(other)

        self._data = self._data.putmask(mask=mask, new=other, inplace=True)
        self._maybe_update_cacher()