delete and add carousel images correctly on recipe edit page