use correct data attribute
Merge pull request #6 from jastkand/fix-broken-methods

update, get_date, set_date methods are not working