For updating the access denied message at your store you need to follow the instructions –
Step 1. Open the app and navigate to General Settings.
Step 2. Add your message which you want to show your members who don’t have access to the page or collection or blog.
Step 3. Click the submit button to save changes.