added some database fields and metrics