updates using jquery mobile as a template