Updated documentation for the register device function