update persist mongo template