added sql
adding and removing images