updated the model_upload.php

uploads should now be added to the database as well as updated and the
lastest copy should be returned.