Updating PHPActiveRecord