grid editing and api updates