Adding replace in Athink DSL
Adding support update and replace in rerthinkdb persistence.