Correct bugs with lastupdated versus lastUpdated; Set lastUpdated correctly with update