change name and message properties