made image upload and updated sql file