Update text on last commit to proper variable