updated castle model