refresh page when update is finished