bfd: Add an update API that has create new or modify existing semantics