Setting name and url on top object