Updating current state