update background image size