Texture update fixed

Texture is now able to update.