Update push and pull method