Fixed the compatibility problem with Eloquent for performUpdate and performInsert