update app blog in rails