update the size