Can you post the sql of Written and Return Premiums. It might be possible to by-pass that query and use the source table(s) directly.
If not, then the solution could be to convert the totals query into a make-table query and then use that table for the update query, although there are other possibilities.