added array for updates
added rotatables array for rotate function