dumb POST and PUT hooks