update image resources