upload pictures and adjust some views