updating sample database