update db when add item to list