Added support for updating itself and fixed some typos