bug fix for rollback issue, update_attribute directly