apply changes from server