Update functions.model.php

ajax