commit current state from server