Add ability to edit an existing idea

unused variable update_idea