Fixed the issue of updating dormitory error.