Added update, save and saveOrUpdate methods in DB, BaseDAO, DAO and BaseService
Modified add and edit works.