status now updating correctly