Modified events api config