Ithaca, N.Y., adopts updated building codes