updating java files w grid changes