Updating passwords every three to four months is a vital step in reducing the risk of having your online accounts hacked.