change spec to DB