update top file