You will need to update costs manually in
Fb has no api to track cpc. I usually round up my avg cpc so i don't underestimate cost on
It's best to do a manual update comparing with the exact spend on Facebook after the day ends or something.
CPC/CPM rates fluctuates on Facebook (depending on your settings) and it wouldn't be accurate using just CPC alone.