updates before modifying controller