Implemented selfupdate.