changes to update
tweaks to beak
simplified controller from JSON hash