updating comments in the api module