change category template and add dump db