Fixing up datawriter

Adding _preSave() hook to automatically set updated_at and
last_upate_user_id.