should not update an empty snippet