updated x and y of spider sprite