changed method parameter of update BaseStation to be more generic