update quickenters schema
add switch helper function to template