fixed outdated syntax in docs