created a new function for banner upload