datetime error with commented out calls to update_user