updates sbin java logic