update texture