move @messages_count after save to show new count