database update & delete added.  testing needed.