If you are trying to update your grid automatically on an event, then you can use the FireCommand event to trigger the update command after making changes.
whereas if you are trying to perform automatic update operation, then you can go through the following online demo: Automatic operations