Revert "Revert "update controller, fix paperclip""

This reverts commit 64ea94f5b4e9b343afab05f4e4e27f70168d3b25.

fix bad revert