Updated the get status and get device functions