update div sizes