updated the documentation for both languages