Updating data on firebase