Fixed incorrect commit update