trying to update pattern