update session's key from string to interface