updated service js