api and grid update