updates to api part 1