Adding cmd
Updating endpoint