Cities adjust building codes to allow micro apartments