Fix Act Tech update bug

Bad sql from new database field.  I did lame testing.

Also adding back a lost Schedule function