Added update and push method