Update functions now work.

Last commit broke and just placed the old file back in. Don't know why
or how.