update swap and localtime issues