got rid of image table in db