update to remove deprecated syntax