Added non-working Replace/Update functions.

We need to find an ORM to use.