updating helper method params