updated message create method