Can now edit items already added to database