Revamp of former Royal High School building set due for completion in 2027