update program using jquery