v1 updated for mbed os 5.4

no such method: docs