synchronise database between a web server and a phone