update DB operation