update accommodation type to use last url segment