fixed bug in which timestamps in model were not updating properly