update for mybatis