Ugly implemented update when it comes from the socket in read-only mode
Signed-off-by: Delian Delchev <delian.delchev@gmail.com>