make after_update conditional