update java model have some error now fix it