Update  Cursor in proc