change securtity api