attribute gui update

Added functionality to gui and attribute adding