added updating function

added updating function, and db_update with multiple args