tw custom entry handler update