Update code.

Change return code of the commands.