Renovation Of The Net Course Of The Medieval Castle