db changes for message table