updating database section