Made block color updating more efficient