Update #8

- Added a api to save new data to the blocks. (For custom id.)
- Updated the code to work with the api.
- Minor changes.