Update session related api