update data like usual