update image extensions