update and delete connections now both seem to be working