Here is the code to refresh a page after editing (updating).
To be inserted in the custom code footer - page level.
BlockID
to be changed, as always.
<script>
window.addEventListener('block-loaded-blockID', () => {
window.addEventListener('update-record-success-blockID', () => {
window.location.reload();
});
});
</script>