Fixed bug with dao.update() not setting the dao on BaseDaoEnabled
instances. Thanks to Carlos Fonseca. Bug #177.