now users and messages can be edited successfully