Updates to api file