Changed some update functions. Introduced versioning -- ETag -- but this is not complete, just mockup.