edit Sinatra post