Update Z Scale Function