Re-write ajax code
add image to ajax
Update mysql database