updates safe request fn