update database online