update zoom scale