These will make sure your copy of Stata and any user-written programs you have installed are up to date. If you are really lucky, the problem you are having has already been fixed. (Either or both of these commands may fail if you do not have read/write access to your machine, e.g. you are working in a shared computer lab. You may have to beg some network administrator to update the version of Stata that is on lab machines. You may even have to tell them how to do it since they may not know about the update all command.)Also, if you are using an older version of Stata (e.g. Stata 13) you may find the problem has been fixed in later versions. Whenever somebody who is using an ancient version of Stata comes to me with a problem, I like to rerun the problem on my machine if possible.