updating images to sprites