local udpates
localoptimizations kept