fix can't update commits issue