update safe file