<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def upd_scroll(self, *args):
 """Update my own ``scroll`` property to where my deck is actually scrolled. """

        att = 'deck_{}_hint_offsets'.format(
            'x' if self.orientation == 'horizontal' else 'y'
        )
        self._scroll = getattr(self.deckbuilder, att)[self.deckidx]