only update twitter in production mode