40. On an appeal against an improvement notice, the court may either cancel the notice or confirm it, with or without modification.