Making cities ready for an uncertain future