added update safe