changes the path of key updation