Fixed Update.java return code