Pennsylvania updates building codes for first time in 10 years