fix selfupdate