update queries with script

query_mva updates mva in tables based off of inputs