Updating fg-match directive