updating stub code