Before update to server