Updating page callback to use config value