Added new attributes to admin panel and fixed file uploading