Assuming the two databases (source & target) are on the same SQL Server - it's a matter of referencing the other database in the statement using a multip part reference.
If the source & target are on separate SQL Servers - set up a Linked Server on the target database to the Source database.Ensure you have relevant permissions on the databases. Then reference as a multipart reference in your UPDATE statement