commit in unlocked state