added trig example for update message