update choice in db contract