updated db part