add request context processor for access in templates
lowercased active field
sql script for db update