update dependancies to fix php >=5.4.0 issue