Update a dropdown

Hi guys I am trying to design a gradio app where I want to update a dropdown after a button click.

But its not working for some reason

with gr.Blocks() as demo:
  with gr.Row(equal_height=True):
    name = gr.Textbox(label=" ID")
    options = gr.Dropdown([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], label="Number of Documents to Fetch")
  fetch_btn = gr.Button(" Papers")

  fetch_btn.click(fn=doc_load, inputs=[name, options], outputs=titles, api_name="fetch")
  choice = gr.Dropdown(titles, label="Titles").change