Update some condition for metadata