update document on dealing with database

update document on dealing with database