corrected bug associated w/ deleting an item before anything had been submitted.
added ajax for updates and deletes