Update last event id before returning in case of invisible content
Merge branch 'dev'