update langugae and cookie session