update background image scale