Update last_commit.num