UPDATE fixing pass function