fix for not working updates

Introduced by #cf4fea4
whitespace change