Added post resource and fixed generic update not working