Form fill

Form fill

I have a form with the labels name, street etc. The data come from the database. Now i want to update the data from a another database and fill the form with the new data. 
How can i solve this?