bugfix for update; repeats refactoring