Merge pull request #2 from shujunqiao/master

update lua sample
add properties.