Added updating mechanism to CLI