implemented ImageDB function - delete, save, update, search