ajax add status to backend