Update TeamServiceImpl.java

Fixed a issue in update scenario.  This is not tested :).