Updated array dependency and added proper upper bounds on dependencies