added insert and remove in DB