Fix selfupdate