update api
compile time fixes