Build in a check whether there is allready an entity with same user and lastchanged in db, if so than update