update autokey script