Fix posting API
Fix syntax error
Update stathat posting