added DB support for keyword categories