Added update method to exisiting documents