update plot size