adding final new add/update/get mongo logic