Avoid corrupting other images when updating one