Modified pi_piper gem to match my expected behavior for update_value function