Zend certified PHP/Magento developer

update configurable product sku with sub-sku

I’m have a configurable product that has a few simple products of different sizes related to it that the user can select from. However, as these are different products with different stock levels, I want to be able to have the sku that’s displayed to dynamically update depending on the option that the user has selected.