update addslashes to beable to use on arrays