updates config and adds doc strings