added spacings
TA-7: added test and implementation of update action