add options to edit messages from backend