how to update data in react native