Update procedure to update all metadata elements.
Use null and zero to ignore elements.