Refactor
Support delete image