Update aprams field when model changes