updating database info