everything is working except for editing previous messages