Update ci with ajax responses