return commit promise