Update Cursor in proc