Update update.php

user can now upload and view photos