update messages after database update