add picture column and remove unneeded tables