chkconfig
- updates and queries runlevel information for system services
update-rc.d
updates the System V style init script links /etc/rcrunlevel.d/NNname whose target is the script /etc/init.d/name.
Is it two ways of doing the exact same thing?
Yes. The equivalent to chkconfig is update-rc.d