added update and draw to Map