API logic for images data preserving changed