updating to secure file