I came across this script which is very nice. this script i got from one of the blogs. I made little changes on the script but this works like a charm and saves our lots of time. This Script will update the Metadata values by looping through every single item (Mostly this Script comes to handy at Post Migration Level). Hope this helps and please do test it in a dev environment first.