Fixed issue with rendering of update mongo queries.

fixed bug in update block in template. referenced remove variable instead of update variable.