updating sprite images