Move update method to the coverage main file