added updateboth