updated db with trigger for TimeGroup table

test for issue where entities are not being requeried and properties not being properly updated