bugfix for user update