started work on an updatePosts function for #20
Closes #20
Merge pull request #27 from NickGeek/development

AJAXy stuff