Added the ability to edit entries.
Removed the auto_now_add since it was creating more work than it solved.
Moved the table population to it's own function.