insert, list works, added tests for update, update in webapp is faulty