update image schema