Updated update_field function for flexible content field to clear array keys

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