fix putall and fix updatemessages