Updating endpoint to get process status