update my/messages logic