update variable assignment