bugfix nullpointer in update