updates to terrain_lib spec