update database diagram