update mcrypt config