updated models proxy again and moved rest.php again