update create layer method reference