update add activity db query .