update AssignBondOrderFromTemplate to work with protein-ligand complex