updating grid line color