Add an image to a single record that is a result of a query

I’ve got all the other parts working I’m just down to the last piece. I’m trying to write an image url to a specific record. Here’s the flow:

user selects an account from a drop down menu
user uploads a file
user clicks submit button

I want to update a field for this specific account with the uploaded file