Update registry stuff