added need_reboot endpoint to admin api