updated readme and api