updating the texture to picture