update - layer gains working