added the hook for theme

added the hook for theme