Fixing parse error code check
Cleaning up
Adding an update command