update background sizes