add and del from db complete