Updated status return function