added new function to test status updates