updating database from live