Update permanent file