Updated to magma Jul 28, 2013

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>