fixed updatePositionCont

also removed some unused files