refactor set url Product model method