Merge pull request #5 from llh1/master

Remove references to the old sample_management_activity tables
Correct environment variable name
Fix if updated_at and updated_by do not exist for the model