Added new update_sub_field function

Signed-off-by: Elliot Condon <e@elliotcondon.com>