update sample database