Fixed a bug where local bindings would not be updated right after the assignment was performed