updated foundation
fixed tiny bug with upload