change pending status