added row update method