fix glEnableVertexAttribArray to take an attribute location as parameter
Fix geometry rendering (was actually a bug when passing parameters to update())