update syntax to stop the deprecated erb syntax warnings when we use this module