updated edit layer and type change interface/method