On an extended second Painlevé hierarchy