small tweak to update last message sent