updated api, readme