Switched from java persistence to tl persistence for update state
Fixed users update
Fixed avatar change notifications
Fixed saving of sent documents