Fixed self update issue