Clean unused functions
Add field lastup. closes #2092