moved update() implementation to AbstractDao