replace deprecated docs