update helper to be used for frontend add in rewrite