flash message to edit post