Refining the fundamental plane of accreting black holes