updating native session implementation