return submitted data on create/update in gist controller