add database
delete image dir
delete images