Update mdash endpoint
Update created object if it is string
Add more data for tests
Remove unnecessary code
Use new data for test update action
Refactor Yamb class
Move define.js to proto