Updated change status to ajax method