Problem with update inside a procedure

Original text of this message