added and updated API docs