update posrts and mappings