finish editing store data in mongo part