update changed data