updates to the main api