Add code for cloud syncronization