DAO update by id