Managed to get functionality for updating dynamic detail fields working