update sample db & model