updating size