Correction to the update function. Somehow single quotes got stuck around a variable so the variable was read as a literal close #182