Can update the sql code of the report