updated generic pass update method