update a controller variable location so @teachers will not be nil