[Aug 19] added update database functions.