updated to new layers version