Fixed some code I must have forgotten about

updateSchema still used that old file descriptor testing katastrophe.
Fixed that.