update method return type

update method return type