Build form to update api key dynamically