Updating class on texture