two update methods in same controller