Updates to California’s building codes take effect Jan. 1